package com.erms.bean;

/**
 * Task entity. @author MyEclipse Persistence Tools
 */

public class Task implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long	serialVersionUID	= 5515395771264557696L;
	private Integer		id;
	private Teach		teach;
	private FileInfo	fileInfo;
	private Integer		deadline;
	private String		title;
	private String		content;
	private Integer		time;

	// Constructors

	/** default constructor */
	public Task() {

	}

	/** minimal constructor */
	public Task(Teach teach, Integer deadline) {

		this.teach = teach;
		this.deadline = deadline;
	}

	/** full constructor */
	public Task(Teach teach, FileInfo fileInfo, Integer deadline, String title,
			String content, Integer time) {

		this.teach = teach;
		this.fileInfo = fileInfo;
		this.deadline = deadline;
		this.title = title;
		this.content = content;
		this.time = time;
	}

	// Property accessors

	public Integer getId() {

		return this.id;
	}

	public void setId(Integer id) {

		this.id = id;
	}

	public Teach getTeach() {

		return this.teach;
	}

	public void setTeach(Teach teach) {

		this.teach = teach;
	}

	public FileInfo getFileInfo() {

		return this.fileInfo;
	}

	public void setFileInfo(FileInfo fileInfo) {

		this.fileInfo = fileInfo;
	}

	public Integer getDeadline() {

		return this.deadline;
	}

	public void setDeadline(Integer deadline) {

		this.deadline = deadline;
	}

	public String getTitle() {

		return this.title;
	}

	public void setTitle(String title) {

		this.title = title;
	}

	public String getContent() {

		return this.content;
	}

	public void setContent(String content) {

		this.content = content;
	}

	public Integer getTime() {

		return this.time;
	}

	public void setTime(Integer time) {

		this.time = time;
	}

}
